package com.shxzz.easy12306.services.ticket.dao.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.shxzz.easy12306.framework.starter.database.base.BaseDO;
import lombok.Data;

import java.io.Serializable;

/**
 * 列车站点价格表
 * @TableName t_train_station_price
 */
@TableName(value ="t_train_station_price")
@Data
public class TrainStationPriceDO extends BaseDO implements Serializable {
    /**
     * ID
     */
    @TableId(type = IdType.ASSIGN_ID)
    private Long id;

    /**
     * 车次ID
     */
    private Long trainId;

    /**
     * 出发站点
     */
    private String departure;

    /**
     * 到达站点
     */
    private String arrival;

    /**
     * 座位类型
     */
    private Integer seatType;

    /**
     * 车票价格
     */
    private Integer price;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}